import resquest from '../utils/require'
// 获取全部校区
export const getlistApi = () =>
    resquest({
        url: 'campus/list',
    })
// 课程
export const getkechengApi = () =>
    resquest({
        url: 'course/list',
    })
// 教师
export const getjiaoshilistApi = () =>
    resquest({
        url: 'teacher/list',
    })
// 轮播图
export const getbannerApi = () =>
    resquest({
        url: 'banner/list',
    })

// 咨询
export const getzixunApi = () =>
    resquest({
        url: 'information/list',
    })
// 活动
export const gethuodongApi = () =>
    resquest({
        url: 'activity/list',
    })

// 公开课
export const gegongkaikeApi = () =>
    resquest({
        url: 'pbclass/list',
    })